package com.code.file.util;

import java.util.Properties;

public class Property {
	
	/** 
	 * 初始化时给对象
	 */
	private static Properties property;
	
	public String get(String key){
		String value = null;
		if(property.containsKey(key)){
			value = property.getProperty(key);
		}
		return value;
	}

	public static Properties getProperty() {
		return property;
	}

	public static void setProperty(Properties property) {
		Property.property = property;
	}
}
